/*
---
script: dialog.js
description: ---
license: MIT-style license
authors:
- Christian Merz
requires:
- core:1.3.2/Element.Event
provides: [dialogCME]
...
*/
window.addEvent('domready', function(){

    var dialogCme = new DialogCME({
		'title':'Form Hari Libur',
		'content':"<table cellspacing='5' align='center' width='400'>\n\
					<tr>\n\
						<th><label>No</label></td><th><label>Tanggal Libur</label></th><th>Keterangan</th><th>Aksi</th></tr>\n\
					<tr>\n\
						<td>1</td><td>23-03-2012</td><td>Hari Raya Nyepi</td><td><a>Edit</a>&nbsp;&nbsp;&nbsp;<a>Hapus</a></td></tr>\n\
					</table>",
		'cancel':{
			'exists':true,
			'value':'Kembali',
			'fn': function(e){
				this.hide()
			}
		}
		
	});
    
    $('holiday').addEvent('click', function(e){
        e = new Event(e).stop();
        dialogCme.show();
    }
	
.bind(this));
});